<?php htmlTemplate('admin_header_frame.php');?>
<div class="title">活跃用户统计

</div>

<table width="100%" cellspacing="1" cellpadding="3" id="listTable">
  <tbody>
 
  <tr>
  	<th align="left" >
  		<a href="javascript:;" id="order_curdate" onclick="orderBy('curdate','DESC')">日期</a>
  	</th>  
    <th>
    	<a href="javascript:;" id="order_alivenum" onclick="orderBy('alivenum','DESC')">数量</a>
    </th>   
   
  </tr>
 
	<?php 
	foreach ($rs['list'] as $k=>$v):
	?>
   <tr>
    <td align="left" > <?php echo $v['curdate'];?></td>
    <td align="center">
	<?php echo $v['alivenum'];?>
	</td>    
   
   
  </tr>
  <?php endforeach;?>
  <tr style="background: #F4FAFB;">
  	<td align="left" >合计：记录数<?php echo $rs['total'];?>条，每页显示：<?php echo $rs['eachNums'];?>条 </td>
	<td align="right" ><?php echo $rs['html'];?></td>	
  </tr>
 
 
  </tbody>
</table>
<?php htmlTemplate('admin_footer_frame.php');?>
<script>
function  delItems()
{
	var items = getCheckItems();	
	if(!items){
		parent.showAlert('请选择要删除的用户！');
		return false;
	}
	var url = '<?php echo ZSM_WWW_HOST;?>admin.php/admin/product/typedel/id/'+items;
	getUrl(url,1,1);
}
</script>